#if !defined(AFX_FLATEDITCTRL_H__211D501B_A11B_4210_AECE_01C98AB96AA4__INCLUDED_)
#define AFX_FLATEDITCTRL_H__211D501B_A11B_4210_AECE_01C98AB96AA4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FlatEditCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CFlatEditCtrl window

class CFlatEditCtrl : public CEdit
{
// Construction
public:
	CFlatEditCtrl();

// Attributes
public:

// Operations
protected:
	COLORREF	m_clrWTopLeft;
	COLORREF	m_clrWBottomRight;
	COLORREF	m_clrNTopLeft;
	COLORREF	m_clrNBottomRight;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFlatEditCtrl)
	protected:
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetBorderColor(COLORREF clrWTopLeft, COLORREF clrWBottomRight, COLORREF clrNTopLeft, COLORREF clrNBottomRight);
	virtual ~CFlatEditCtrl();

	// Generated message map functions
protected:
	void DrawBorder();
	//{{AFX_MSG(CFlatEditCtrl)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FLATEDITCTRL_H__211D501B_A11B_4210_AECE_01C98AB96AA4__INCLUDED_)
